xl: Support more than 32 vcpus for xl vcpu-set
authorJuergen Gross <juergen.gross@ts.fujitsu.com>
Mon, 14 Feb 2011 16:56:20 +0000 (16:56 +0000)
committerJuergen Gross <juergen.gross@ts.fujitsu.com>
Mon, 14 Feb 2011 16:56:20 +0000 (16:56 +0000)
commitfb37da1031eb8ed399b9b52a0eebb8b24e005999
treedb7b1ebe477ea1be23d58eb2bf09fbe0301ce063
parentb948a2f41ac78959e883f12bd4ca011b906d814f
xl: Support more than 32 vcpus for xl vcpu-set

xl vcpu-set currently uses a 32 bit mask for specifying which cpus are to be
set online. This restricts the number of cpus supported by this command.

The patch switches to libxl_cpumap, the interface of libxl_set_vcpuonline()
is changed accordingly.

Signed-off-by: Juergen Gross <juergen.gross@ts.fujitsu.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl.c
tools/libxl/libxl.h
tools/libxl/xl_cmdimpl.c